package com.bootdo.project.service.impl;

import com.bootdo.project.domain.TUserPayLog;
import com.bootdo.project.dao.TUserPayLogMapper;
import com.codegen.vo.Page;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import org.apache.ibatis.annotations.Param;

/**
 *
 * Created by xxxx on 2019/03/19.
 */
@Service
public class TUserPayLogService {

	@Autowired
    private TUserPayLogMapper tUserPayLogMapper;
    
    public int deleteByPrimaryKey(Long id){
        return tUserPayLogMapper.deleteByPrimaryKey(id);
    }

    public int insert(TUserPayLog record){
        return tUserPayLogMapper.insert(record);
    }

    public int insertSelective(TUserPayLog record){
        return tUserPayLogMapper.insertSelective(record);
    }

    public TUserPayLog selectByPrimaryKey(Long id){
        return tUserPayLogMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TUserPayLog record){
        return tUserPayLogMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TUserPayLog record){
        return tUserPayLogMapper.updateByPrimaryKey(record);
    }

    public List<TUserPayLog> selectByCondition(TUserPayLog record){
        return tUserPayLogMapper.selectByCondition(record);
    }

    public List<TUserPayLog> selectAll(){
        return tUserPayLogMapper.selectAll();
    }

    public List<TUserPayLog> selectByPage(Page<TUserPayLog> page){
        return tUserPayLogMapper.selectByPage(page);
    }

    public Integer count(TUserPayLog record){
        return tUserPayLogMapper.count(record);
    }

    public int deleteByCondition(TUserPayLog record){
        return tUserPayLogMapper.deleteByCondition(record);
    }

}
